package com.gf.user.model;

import java.io.Serializable;
import java.util.Date;

import com.gf.base.type.Activity;
import com.gf.base.type.TicketType;

/**
 * 验证URL的有效性
 * 
 * @author zhuguifeng
 * 
 */
public class Ticket implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private long id;
	private long userId;
	private String uuid;
	private Date createtime;
	private Activity activity;
	private TicketType ticketType;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Activity getActivity() {
		return activity;
	}

	public void setActivity(Activity activity) {
		this.activity = activity;
	}

	public TicketType getTicketType() {
		return ticketType;
	}

	public void setTicketType(TicketType ticketType) {
		this.ticketType = ticketType;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

}
